package com.zzy.study.antJunit;

import java.util.ArrayList;
import java.util.List;

public class AntDemo {
	public boolean save() {
		return true;
	}

	public boolean delete() {
		return false;
	}

	public int update() {
		return 1;
	}

	public List<Object> findAll() {
		return new ArrayList<Object>();
	}

	public Object findById(int id) {
		return "Object";
	}

	public Object checkNonNull() {
		return "123";
	}

	public Object checkNull() {
		return null;
	}

	public void checkException() {
		throw new RuntimeException("运行期异常");
	}
}